import { http } from "@/utils/http";
import { ListResult} from "./models";

interface ctaSendCodeType {
  status: boolean
}
export const sendContent = (data: object) => {
  return http.request<ListResult<ctaSendCodeType>>("post", '/api/open/contact/mail/sendContent',{
    data
  });
}


export const ctaSendEmailCode = (data: object) => {
  return http.request<ListResult<ctaSendCodeType>>("post", '/api/open/contact/mail/sendEmailCode',{
    data
  });
}